
#ifndef wu_ANIMATA_KINECT_H
#define wu_ANIMATA_KINECT_H

#pragma once
#include "wuHumanoid.h"
#include "wuSkin.h"


class wuAnimataKinect : public wuHumanoid
{
    public:
        wuAnimataKinect();
        ~wuAnimataKinect();

		void setSkel(Skeleton _skel);
		void setSkin( vector <wuSkin> * _skins);
        virtual void draw(bool pinta_bg=false, int offX=0);

		void OrderSkins();
		void skelCorrection();
		virtual void update();
		virtual void update(Skeleton _skel);
		void MakeFBOimage();

        // ofImage skin
		vector<wuSkin>* skins;

		int ord[11]; // te correct skins order  (we have 11 pieces maximum)
		SkelModified modSkel; 	// new skeleton point calculation


};
#endif

